﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;

namespace Controller
{
    public delegate void GetViewInformationEventHandler(GetViewInformationEventArgs e);

        public class GetViewInformationEventArgs : EventArgs
        {
            public TableInformation Result { private set; get; }
            public Exception exception;
            public bool IsFullDataGet { set; get; }

            public GetViewInformationEventArgs() { }

            public GetViewInformationEventArgs(TableInformation r)
            {
                Result = r;
            }
            public GetViewInformationEventArgs(Exception ex)
            {
                exception = ex;
            }
        }
    }
